import request from '@/utils/request'
// 封装获取文章分类列表
export const getArtcateAPI = () => request.get('/my/cate/list')
// 封装添加分类的请求
export const addArtcateAPI = obj => request.post('/my/cate/add', obj)
// 封装删除分类的请求
export const delArtcateAPI = id => request.delete('/my/cate/del', { params: { id: id } })

// 编辑分类列表的请求
export const editArtcateAPI = obj => request.put('/my/cate/info', obj)
